//Tomorrow Tech return type
//Return succeeded
function TT_SUCCEEDED($x) 	
{
	(x >= 0)
}

//Return failed
function TT_FAILED($x)
{
	(x < 0)
} 			

/****************************************
Success codes
****************************************/
#define TT_SUCCESS_DECLARE(x)	(x)
//Standard success case
define("TT_OK",	1)
//Succeeded, but something was suspicious
define("TT_WARNING", 2)

/****************************************
Failure codes
****************************************/
#define TT_ERROR_DECLARE(x)		(-x)
//Out of memory of other memory error
define("TT_MEM", -1)
//Access denied or other permissions issues
define("TT_ACCESS"", -2)
//A network resource is unavailable
define("TT_NETWORK", -3)	
//An invalid input was detected
define("TT_INVALID_INPUT", -4)
//Unsupported Feature
define("TT_UNSUPPORTED", -5)
/****************************************
Plug identification
****************************************/
//Access all ports
define("PLUG_ALL", 0)
